import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    userPageData: {}
  },
  mutations: {
    setUserPageData(state, userInfo){
      state.userPageData = userInfo
    }
  },
  actions: {

  },
  getters: {
    getUserPageData(state) {
      return state.userPageData
    }
  },
  modules: {
  }
})
